package com.zte.claa.inficombo.csa.app.service.gprscat1.bean;

import org.json.JSONObject;

public class GPRSMsgBody {
	private JSONObject datajson;
	
	public GPRSMsgBody(){
		
	}

	public byte[] getDataBytes(){
		if(null == datajson){
			return null;
		}
		return datajson.toString().getBytes();
	}
	
	public JSONObject getDatajson() {
		return datajson;
	}


	public void setDatajson(JSONObject datajson) {
		this.datajson = datajson;
	}


	public String toString(){
		StringBuilder sb = new StringBuilder();
		sb.append("datajson=").append(this.datajson.toString()).append(".");
		return sb.toString();
	}
}
